package com.zxyankh.raft.service;

import com.zxyankh.raft.dto.Entry;

/**
 * @author ankh
 * @since 31.10.2017
 */
public interface RaftService {

    void addCommand(String command);

    Entry getCommand(int index);
}
